module.exports = class extends think.Model {
  get relation() {
    return {
      faburen_remark: {
        type: think.Model.HAS_ONE,
        model: 'remarks',
        key: 'faburen_remarks_id',
        fKey: 'id',
        where: 'model_name = "gongxufabu"'
      },
      check_remark: {
        type: think.Model.HAS_ONE,
        model: 'remarks',
        key: 'check_remarks_id',
        fKey: 'id',
        where: 'model_name = "gongxufabu"'
      },
      review_remark: {
        type: think.Model.HAS_ONE,
        model: 'remarks',
        key: 'review_remarks_id',
        fKey: 'id',
        where: 'model_name = "gongxufabu"'
      },
      send_remark: {
        type: think.Model.HAS_ONE,
        model: 'remarks',
        key: 'send_remarks_id',
        fKey: 'id',
        where: 'model_name = "gongxufabu"'
      },
      offsale_remark: {
        type: think.Model.HAS_ONE,
        model: 'remarks',
        key: 'offsale_remarks_id',
        fKey: 'id',
        where: 'model_name = "gongxufabu"'
      },
      recipient_remark: {
        type: think.Model.HAS_ONE,
        model: 'remarks',
        key: 'recipient_remarks_id',
        fKey: 'id',
        where: 'model_name = "gongxufabu"'
      },
      fabureninfo: {
        type: think.Model.HAS_ONE,
        model: 'member',
        key: 'faburen',
        fKey: 'id'
      },
      pushinfo: {
        type: think.Model.HAS_ONE,
        model: 'member',
        key: 'push_userid',
        fKey: 'id'
      },
      assigninfo: {
        type: think.Model.HAS_ONE,
        model: 'member',
        key: 'appmobile',
        fKey: 'mobile'
      },
      zzjginfo: {
        type: think.Model.HAS_ONE,
        model: 'zzjg',
        key: 'zzjg',
        fKey: 'id'
      },
      decision_problem_userinfo: {
        type: think.Model.HAS_ONE,
        model: 'member',
        key: 'decision_problem_userid',
        fKey: 'id'
      }
    };
  }
};
